<html>
	<!--test comment-->
	<head>
		<meta charset="utf-8"/>
		<title>BAction</title>
		<link rel="stylesheet" type="text/css" href="../style.css"/>
	</head>
	<body>
		<h1>BAction</h1>
		<p>Inherites from <a href="BObject.html">BObject</a></p>
		<h2>public</h2>
		<table id="public">title
			<tr><td align="right"/><td><a href="#BAction()">BAction</a>();</td></tr>
			<tr><td align="right"/><td><a href="#BAction(BWidget*)">BAction</a>(BWidget* widget);</td></tr>
			<tr><td align="right"/><td><a href="#BAction(BLayout*)">BAction</a>(BLayout* layout);</td></tr>
			<tr><td align="right"/><td><a href="#BAction(const BString&)">BAction</a>(const BString& text);</td></tr>
			<tr><td align="right"/><td><a href="#BAction(BIcon*,const BString&)">BAction</a>(BIcon* icon, const BString& text = BString());</td></tr>
			<tr><td align="right"/><td><a href="#~BAction()">~BAction</a>();</td></tr>
			<tr><td align="right">void </td><td><a href="#setText(const BString&)">setText</a>(const BString& text);</td></tr>
			<tr><td align="right">const BString& </td><td><a href="#text()">text</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#setIcon(BIcon*)">setIcon</a>(BIcon* icon);</td></tr>
			<tr><td align="right">BIcon* </td><td><a href="#icon()">icon</a>();</td></tr>
			<tr><td align="right">const BIcon* </td><td><a href="#icon()">icon</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#setCheckable(bool)">setCheckable</a>(bool checkable);</td></tr>
			<tr><td align="right">bool </td><td><a href="#checkable()">checkable</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#setChecked(bool)">setChecked</a>(bool checked);</td></tr>
			<tr><td align="right">bool </td><td><a href="#checked()">checked</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#setWidget(BWidget*)">setWidget</a>(BWidget* widget);</td></tr>
			<tr><td align="right">BWidget* </td><td><a href="#widget()">widget</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#setLayout(BLayout*)">setLayout</a>(BLayout* layout);</td></tr>
			<tr><td align="right">BLayout* </td><td><a href="#layout()">layout</a>() const;</td></tr>
			<tr><td align="right">const BRect& </td><td><a href="#rect()">rect</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#trigger()">trigger</a>();</td></tr>
		</table>
		<h2>protected</h2>
		<table id="protected"/>
		<div id="desc">
			<h2>Detailed Description : </h2>
			<p>
				 Actions can be added to menus, and will automatically keep them in sync. <br/>
				 For example in a word processor, if the user presses a Bold toolbar button, the Bold menu item will automatically be checked.<br/>
				 Actions can be created as independent objects, but they may also be created during the construction of menus; <br/>
				 The BMenu class contains convenience functions for creating actions suitable for use as menu items.<br/>
			</p>
			<h2>Signal:</h2>
			<table>
				<tr><td>Signal_Trigger</td><td>Emited when trigger() is called.</td></tr>
				<tr><td>Signal_Checked</td><td>Emited when setChecked() is called, value is (bool)checked.</td></tr>
			</table>
			<p>See also : </p>
		</div>
		<h2 id="docs">Member Function Documentation</h2>
		<div id="BAction()">
			<h3>BAction();</h3>
			<p>Constructs action. </p>
			<p>See also : </p>
		</div>
		<div id="BAction(BWidget*)">
			<h3>BAction(BWidget* widget);</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="BAction(BLayout*)">
			<h3>BAction(BLayout* layout);</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="BAction(const BString&)">
			<h3>BAction(const BString& text);</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="BAction(BIcon*,const BString&)">
			<h3>BAction(BIcon* icon, const BString& text = BString());</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="~BAction()">
			<h3>~BAction();</h3>
			<p>Destory this action.</p>
			<p>See also : </p>
		</div>
		<div id="setText(const BString&)">
			<h3>void setText(const BString& text);</h3>
			<p>Change action's text, menu will show the text if menu's form include icon.</p>
			<p>See also : </p>
		</div>
		<div id="text()">
			<h3>const BString& text() const;</h3>
			<p>Get action's text.</p>
			<p>See also : </p>
		</div>
		<div id="setIcon(BIcon*)">
			<h3>void setIcon(BIcon* icon);</h3>
			<p>Change action's icon, menu will show the icon if menu's form include icon.</p>
			<p>See also : </p>
		</div>
		<div id="icon()">
			<h3>BIcon* icon();</h3>
			<p>Get action's icon.</p>
			<p>See also : </p>
		</div>
		<div id="icon()">
			<h3>const BIcon* icon() const;</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="setCheckable(bool)">
			<h3>void setCheckable(bool checkable);</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="checkable()">
			<h3>bool checkable() const;</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="setChecked(bool)">
			<h3>void setChecked(bool checked);</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="checked()">
			<h3>bool checked() const;</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="setWidget(BWidget*)">
			<h3>void setWidget(BWidget* widget);</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="widget()">
			<h3>BWidget* widget() const;</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="setLayout(BLayout*)">
			<h3>void setLayout(BLayout* layout);</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="layout()">
			<h3>BLayout* layout() const;</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="rect()">
			<h3>const BRect& rect() const;</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
		<div id="trigger()">
			<h3>void trigger();</h3>
			<p>this is method comment</p>
			<p>See also : </p>
		</div>
	</body>
</html>